package com.jxb.mapper;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxb.entity.Order;
import com.jxb.entity.User;

/**
 * 类注释
 *
 * @author jiaobo
 * @date Created in 2024/10/29 21:55
 **/
public interface OrderMapper extends BaseMapper<Order> {

    @Select("select o.*,d.* from t_order o LEFT JOIN t_order_detail d on o.order_id = d.order_id")
    List<HashMap<String, Object>> selectOrderByOrderId(long l);
}
